package cn.wolfcode.shop.cloud.vo;

import lombok.Getter;
import lombok.Setter;


import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

@Getter
@Setter
public class LoginVo {
    @Pattern(regexp="1[3456789]\\d{9}",message = "手机号号码不正确")
    private  String username;
   @NotEmpty(message = "密码不能为空")
    private  String password;


}
